package cn.com.bluemoon.daps.model.entity;

import cn.com.bluemoon.daps.common.domain.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 数据模型-关联标签的中间表
 * </p>
 *
 * @author admin
 * @since 2020-08-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors
@ApiModel(value = "DapDataModelSystemTagMiddle", description = "数据模型-关联标签的中间表")
public class DapDataModelSystemTagMiddle extends BaseModel<DapDataModelSystemTagMiddle> {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "数据模型id或者是模型表id，具体根据字段relType来区分")
    private String relDataId;

    @ApiModelProperty(value = "区分关联信息的类型，0 为模型表与标签的关联数据 1 为模型表中对设计表的表与标签的关联")
    private Integer relType;

    @ApiModelProperty(value = "系统标签id")
    private String systemTagId;


}
